package com.cxw.healthserver.entity

import com.baomidou.mybatisplus.annotation.FieldFill
import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableId
import java.util.*

/**
 * @createTime 2024/6/28 22:38
 * @author 崔兴旺
 * @description
 */
class Follow {
    //客户端原始表数据id
    @TableId(type = IdType.INPUT)
    var sourceTableId: String = ""

    var username: String = ""
    var idNumber: String = ""
    var followCode: Int = 0
    var json: String = ""

    @TableField(fill = FieldFill.INSERT)
    val createTime: Date? = null

    @TableField(fill = FieldFill.INSERT_UPDATE)
    val updateTime: Date? = null
}